package com.zy.dp.visitor.example1;

public class ConcreteVisitor2 implements Visitor
{

	@Override
	public void visitConcreteElementA(ConcreteElementA element)
	{
		System.out.println("ConcreteVisitor2==visitConcreteElementA");
		element.opertionA();

	}

	@Override
	public void visitConcreteElementB(ConcreteElementB element)
	{
		element.opertionB();

	}

}
